package com.hongye.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hongye.common.utils.PageUtils;
import com.hongye.house.entity.SaleHomeEntity;
import com.hongye.house.vo.SaleHomeVo;
import com.hongye.house.vo.SaleQueryVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 房源：售房表
 *
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-10-14 13:32:23
 */
public interface SaleHomeService extends IService<SaleHomeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SaleHomeEntity> salelist(Integer houseagent);


    void esoldinsert();

    void esnewinsert();

    Integer secondhandhousing();

    Integer numberofnewhouses();

    List<SaleHomeEntity> esnewsearch(SaleQueryVo vo) throws IOException;

    List<SaleHomeEntity> esoldsearch(SaleQueryVo vo) throws IOException;

    List<SaleHomeVo> getsalelist();

    void eshouseadd();

    List<SaleHomeVo> eshousesearch(SaleQueryVo vo) throws IOException;
}

